function onButtonClickC(e)
{
    // 1. Create Element of type <input>
    var newElement = document.createElement("input");
    newElement.className = "input class";
    newElement.placeholder = "Enter name";
    newElement.style.border = "black 2px solid";
    newElement.id = "nameC";
    newElement.style.padding = "5px";
    newElement.style.marginRight = "10px";

    var newElement2 = document.createElement("input");
    newElement2.className = "input class";
    newElement2.placeholder = "Enter address";
    newElement2.style.border = "black 2px solid";
    newElement2.id = "addressC";
    newElement2.style.padding = "5px";
    newElement2.style.margin = "10px";

    var newElement3 = document.createElement("input");
    newElement3.className = "input class";
    newElement3.placeholder = "Enter cash";
    newElement3.style.border = "black 2px solid";
    newElement3.id = "cash";
    newElement3.style.padding = "5px";
    newElement3.style.margin = "10px";

    var newElement4 = document.createElement("input");
    newElement4.className = "input class";
    newElement4.placeholder = "Enter month salary";
    newElement4.style.border = "black 2px solid";
    newElement4.id = "salary";
    newElement4.style.padding = "5px";
    newElement4.style.margin = "10px";


    var submit = document.createElement("input");
    submit.type = "submit";
    submit.id = "submitC";
    submit.style.padding = "5px";
    submit.value = "Create";

    // 2. Find parent element
    var customer = document.getElementById("customer");

    // 3. Append to parent
   // var title = document.createElement("<h1>");
    //title.innerText = "Enter customer:";

    //customer.appendChild(title);
    customer.innerHTML += "Customer name: ";
    customer.appendChild(newElement);
    //bank.innerHTML += "<br>";
    customer.innerHTML += "Address: ";
    customer.appendChild(newElement2);
    //bank.innerHTML += "<br>";
    customer.innerHTML += "Cash: ";
    customer.appendChild(newElement3);
    customer.innerHTML += "Month salary: ";
    customer.appendChild(newElement4);
    customer.appendChild(submit);
    customer.innerHTML += "<br>";
    e.preventDefault();
}
